package org.jeecg.common.modules.register.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.data.annotation.Transient;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

/**
 * @Description: register_patient
 * @Author: jeecg-boot
 * @Date:   2021-01-26
 * @Version: V1.0
 */
@Data
@TableName("register_patient")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="register_patient对象", description="register_patient")
public class RegisterPatient implements Serializable {
    private static final long serialVersionUID = 1L;

	/**挂号功能患者表*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "挂号功能患者表")
    private String id;
	/**关联微信用户id*/
	@Excel(name = "关联微信用户id", width = 15)
    @ApiModelProperty(value = "关联微信用户id")
    private String wxUserinfoId;
	/**患者姓名*/
	@Excel(name = "患者姓名", width = 15)
    @ApiModelProperty(value = "患者姓名")
    private String name;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String mobile;
	/**姓名拼音*/
	@Excel(name = "姓名拼音", width = 15)
    @ApiModelProperty(value = "姓名拼音")
    private String pyinShort;
	/**患者首字母*/
	@Excel(name = "患者首字母", width = 15)
    @ApiModelProperty(value = "患者首字母")
    private String firstChar;
	/**关系 0本人 1子女 2父母 3夫妻 4 其他*/
	@Excel(name = "关系 0本人 1子女 2父母 3夫妻 4 其他", width = 15)
    @ApiModelProperty(value = "关系 0本人 1子女 2父母 3夫妻 4 其他")
    private Integer relation;
	/**性别 1男 2女 0未知*/
	@Excel(name = "性别 1男 2女 0未知", width = 15)
    @ApiModelProperty(value = "性别 1男 2女 0未知")
    private Integer sex;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private String idCard;
	/**挂号性质*/
	@Excel(name = "挂号性质", width = 15)
    @ApiModelProperty(value = "挂号性质")
    private String registerNature;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    /**删除状态*/
    @Excel(name = "删除状态", width = 15)
    @ApiModelProperty(value = "删除状态")
    private Integer deleteStatus;

    /**身份证号*/
    @Excel(name = "社保号", width = 15)
    @ApiModelProperty(value = "社保号")
    private String shebaoCard;
}
